﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/masAdmin.master" AutoEventWireup="true"
    CodeFile="ChangePassword.aspx.cs" Inherits="admin_ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagename" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="content" runat="Server">
    <div class="content-box-header">
        <h3>
            Change password
        </h3>
    </div>
    <!-- End .content-box-header -->
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <table border="0" cellpadding="0" cellspacing="0" class="table100">
                <tr>
                    <td colspan="2">
                        <span class="commentRequireInputText">
                            <%=Resources.Resource.LBL_REQUIREMENT%>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td align="left">
                        <asp:ValidationSummary ID="vsumPass" runat="server" ShowMessageBox="true" ShowSummary="false"
                            CssClass="errorMessage" />
                        <asp:Label ID="lblErrorMessage" runat="server" CssClass="errorMessage"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top">
                        Old password(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtOldPass" runat="server" MaxLength="128" TextMode="Password"></asp:TextBox>
                         <asp:RequiredFieldValidator ID="reqOld" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="Old pass is require" Display="Dynamic" ControlToValidate="txtOldPass">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">
                        New pass(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtNewPass" MaxLength="128" Width="250px" runat="server" TextMode="Password">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqNewPass" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="Title is require" Display="Dynamic" ControlToValidate="txtNewPass">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                   <tr>
                    <td width="150px" align="right">
                        Confirm new pass(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtConfirmNewPass" MaxLength="128" Width="250px" runat="server" TextMode="Password">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqConfirmNewPass" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="Title is require" Display="Dynamic" ControlToValidate="txtConfirmNewPass">*</asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="cmpConfirmNewPass"  ControlToValidate="txtConfirmNewPass" ControlToCompare="txtNewPass" runat="server" ErrorMessage="CompareValidator">*</asp:CompareValidator> 
                    </td>
                </tr>

                <tr>
                    <td>
                    </td>
                    <td style="height: 40px;" valign="bottom">
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" 
                            CausesValidation="true" onclick="btnSave_Click" />
                      
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
